package com.bdzl.admin.dao.data;

import com.bdzl.pub.entity.data.CityDO;
import com.bdzl.pub.vo.data.CityVO;

import java.util.List;
import java.util.Map;

/**
 * 地级市表
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-03-23 13:57:43
 */
public interface CityDao {

	CityDO get(Integer id);
	
	List<CityDO> list(Map<String, Object> map);

	List<CityVO> listAndProvince(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CityDO city);
	
	int update(CityDO city);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
